<template>
	<view class="flex-r flex-start pos-r flex-fill ">
		<view class="">
			<image class="wh25-25" mode="aspectFill" :src="pic(item.pic)"></image>
			<status class="w100 tac round1 padtb1" :item="item.status"></status>
		</view>
		<view class="flex1 padl3 fs8 lh2 c12">
			<view class="fwb fs12 c11">[{{item.id}}]{{item.name}}</view>
			<view><text>型号：</text>{{item.sn}}</view>
			<view><text>编码：</text>{{item.code}}</view>
			<view><text>部门：</text>{{isnull(item.department)?'未设置':item.department.name}}</view>
			<view><text>操作人：</text>{{isnull(item.operator)?'未设置':item.operator.name}}</view>
		</view>
		<view class="flcc fs14 c12">
			<text class="fa fa-angle-right"></text>
		</view>
		<ripple></ripple>
	</view>
</template>

<script>
	export default {
		props:{
			item:''
		},
		data() {
			return {
				machine:''
			}
		},
		methods: {
			
		},
		created() {
			this.log(this.item)
		}
	}
</script>

<style>

</style>
